package token

import (
	"net/http"

	"gitee.com/keepalived_0807/Vblog/exception"
)

var (
	ErrUnAuthed            = exception.NewApiException(50000, "请登录").WithHttpCode(http.StatusUnauthorized)
	ErrAuthFailed          = exception.NewApiException(50001, "用户名或者密码不正确").WithHttpCode(http.StatusUnauthorized)
	ErrAccessTokenExpired  = exception.NewApiException(50002, "AccessToken过期")
	ErrRefreshTokenExpired = exception.NewApiException(50003, "RefreshToken过期")
	ErrRefreshTokenFailed  = exception.NewApiException(50004, "RefreshToken不正确")
)
